<%@ page language="java" import="java.util.*,java.net.URL" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>Hello World</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
  	购买:<br>
    <form action="product/buy.action" method="post">
    	<input type="text" name="userId" value="8ab20e904463db63014463edc0c20001">
    	<input type="text" name="productId" value="402881e4445fd02601445fd04ba80001">
    	<input type="text" name="number" value="1">
    	<input type="submit" value="start">
    </form>
    <br>
  	兑换:<br>
    <form action="luck/luck.action" method="post">
    	<input type="text" name="userId" value="8ab20e904463db63014463edc0c20001">
    	<input type="text" name="luckId" value="402881e4445e835b01445e83e1310001">
    	<input type="text" name="number" value="1">
    	<input type="submit" value="start">
    </form>
    <br>
  	商品:<br>
    <form action="manage/productAdd.action" method="post" enctype="multipart/form-data">
    	<input type="text" name="title" value="">
    	<input type="text" name="price" value="">
    	<input type="file" name="photo">
    	<input type="text" name="describe" value="">
    	<input type="text" name="point" value="">
    	<input type="submit" value="start">
    </form>
    <br>
  	活动:<br>
    <form action="manage/luckAdd.action" method="post" enctype="multipart/form-data">
    	<input type="text" name="title" value="">
    	<input type="text" name="price" value="">
    	<input type="file" name="photo">
    	<input type="text" name="describe" value="">
    	<input type="submit" value="start">
    </form>
    <br>
    <form action="user/login.action" method="post">
    	<input type="text" name="username" value="">
    	<input type="password" name="password" value="">
    	<input type="submit" value="start">
    </form>
    <br>
    <form action="user/register.action" method="post">
    	<input type="text" name="username" value="">
    	<input type="password" name="password" value="">
    	<input type="submit" value="start">
    </form>
  </body>
</html>
